home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- FASTHEX
-
- Requires an IBM-PC or PC-CLONE,
- 128 K of RAM, one disk drive,
- an 80 column monitor, and
- MS-DOS 1.0, 1.1, or 2.0
-
-
-
- FASTHEX is a utility program used to allow the transmission
- of binary files when eight bit communications protocols such
- as XMODEM are not available. FASTHEX will generate a hex file
- that can be sent over file transfer systems which are limited
- to standard ASCII format data. The received file can then be
- converted back to an eight bit binary format and loaded and
- run in the usual manner. Other programs are available for this
- same purpose; this program was written because the author
- became frustated with the low speed and disk-intensive nature
- of these other programs.
-
-
- FASTHEX acheives it's good performance by using a large (48 K)
- integer array in RAM to store the input file. The other programs
- convert the source file in 32 byte "chunks"; much time is wasted
- while the disk drive's read-write head moves back and forth
- from the input file to the output file. To optimize program
- speed, FASTHEX splits the conversion process in half; the integer
- array is used to hold an intermediate representation of the file
- in decimal format. The final conversion is done as the output
- file is written to disk. In this manner, FASTHEX makes optimum
- use of both the CPU and the disk drives. Both are able to work
- at or near full speed at all times; neither must wait very long
- for the other to "catch up". In addition, FASTHEX is much quieter
- in it's operation. There is no disk drive grinding from constant
- stepper-motor activity as is common with other programs.
-
-
- As a result, FASTHEX is from 3 to 5 times faster; the biggest
- performance gain is with larger files. FASTHEX can convert itself
- in less than 3 minutes. The other programs require 10 to 11 minutes
- to do this. This program will work on files of any size. The array
- is reused after each 24,000 bytes have been written to disk. Please
- note however that Hex files are TWICE the size of Binary files. If
- you run out of disk space the conversion will not be complete.
- FASTHEX will not crash if this should happen, but it cannot
- perform "split" conversions. The entire output file must fit on
- one disk. If you own more than one disk drive, one drive may be
- used for the source file and another for the destination file.
-
-
-
-
-
-
- FASTHEX has one additional feature: it will supply default filenames
- for your output files. When doing a Hex to Binary conversion,
- FASTHEX will examine the input file and determine whether it is in
- .COM or .EXE format and will add the appropriate extension to the
- output filename. You may opt to use the default filename by simply
- pressing <ENTER> when FASTHEX prompts for an output filename.
- Typing in any other filename will overide this feature and allow you
- to use any legal filename you wish. On Binary to Hex conversions
- a default filename extension of .HEX is supplied; this too may be
- overidden by entering a filename of your choice.
-
-
- FASTHEX can be used with any combination of floppies, hard disks,
- or electronic disks. The DOS default drive is assumed for input
- files but you may use any drive by adding a device name (such as
- A:, B:, C:, D:, E:, or F: when FASTHEX prompts for a filename.
- Any drive may likewize be used for the output file. Enter the
- file spec in the standard DOS format, i.e. C:MYFILE.HEX
-
-
- This program will trap most entry errors, and allows a graceful
- recovery if the conversion has not yet begun. Entering a "$"
- for a filename will cancel the chosen function and return you
- to the main menu. Once the conversion is underway, your only
- escape is <CONTROL-BREAK>. This will terminate the program and
- return control to DOS. The input file will be preserved unharmed,
- but the output file will not be useable and should be deleted.
-
-
- FASTHEX was written in Compiled BASIC; the interpreted version
- was not distributed because it is agonizingly slow. If you
- would like to examine the source code, send a SASE to the
- address below and I'll print a copy for you. Please do not
- send blank disks as I do not own the equiptment to make such
- mass copying practical. If you have any questions, comments,
- or criticisms feel free to write. A SASE will facilitate replies
- to your questions. NO CONTRIBUTION IS SOLICITED OR WILL BE
- ACCEPTED. THIS IS A UTILITY PROGRAM, NOT COMMERCIAL SOFTWARE !
- This program is intended for the use of everyone; it may be
- copied, swapped, transmitted in any form, or given away,
- BUT IS NOT TO BE RESOLD BY ANY PERSON OR ORGINAZITION !!!
- The author assumes no responsibility for damages resulting
- from it's use. No promise is made for updates or maintainance;
- with the widespread adoption of binary communication and
- error-checking protocols, I hope FASTHEX will become obsolete !
-
-
- MATTHEW F. MADDEN
- P.O. BOX 962
- HARDWICK, GA. 31034
-
-